export const CheckWhat = () => {
	return getApp().globalData.customFrom
};

export const setToken = (token) => {
	if (CheckWhat() !== 'h5') return uni.setStorageSync("token", token)
	localStorage.setItem("token", token);
};

export const getToken = (token) => {
	if (CheckWhat() !== 'h5') return uni.getStorageSync("token")
	localStorage.getItem("token");
};